import { RouteConfig } from "vue-router";
import Layout from "@/layout/index.vue";

const SystemSettingTenant: RouteConfig = {
  path: "/system_setting",
  component: Layout,
  redirect: "/system_setting/index",
  name: "SystemSetting",
  meta: {
    title: "systemSettings",
    icon: "iconfont icon-userstoryicon",
    authrole: 'tenant_admin'
  },
  children: [
    {
      path: "index",
      component: () => import("@/views/system_tenant/index.vue"),
      name: "SystemSetting",
      meta: {
        title: "systemSettings",
        noCache: true,
        authrole: 'tenant_admin',
      }
    }
  ]
};

export default SystemSettingTenant;
